翻訳と辞書
Words near each other
・ Event store
・ Event stream processing
・ Event structure
・ Event study
・ Event symmetry
・ Event television
・ Event to knowledge
・ Event tree
・ Event tree analysis
・ Event videography
・ Event Viewer
・ Event winners at the 2012 Summer Paralympics
・ Event, Metaphor, Memory
・ Event-driven
・ Event-driven architecture
Event-driven finite-state machine
・ Event-driven investing
・ Event-driven marketing
・ Event-Driven Messaging
・ Event-driven process chain
・ Event-driven programming
・ Event-driven SOA
・ Event-related functional magnetic resonance imaging
・ Event-related optical signal
・ Event-related potential
・ Eventbrite
・ EventCity
・ EventCity Metrolink station
・ EventDV
・ Eventfinda


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Event-driven finite-state machine : ウィキペディア英語版
Event-driven finite-state machine

In computation, a finite-state machine (FSM) is event driven if the transition from one state to another is triggered by an event or a message. This is in contrast to the parsing-theory origins of the term finite-state machine where the machine is described as consuming characters or tokens.
Often these machines are implemented as threads or processes communicating with one another as part of a larger application. For example, a telecommunication protocol is most of the time implemented as an event-driven finite-state machine.
==Example in C==
This code describes the state machine for a very basic car radio system. It is basically an infinite loop that reads incoming events. The state machine is only 2 states: radio mode, or CD mode. The event is either a mode change from radio to cd back and forth, or a go to next (next preset for radio or next track for CD).

/
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
#include
/
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
typedef enum STATES;
typedef enum EVENTS;
EVENTS readEventFromMessageQueue(void);
/
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
int main(void)
break;
}
}
}


抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Event-driven finite-state machine」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.